package org.linuxsogood.boot.mapper;

import org.apache.ibatis.annotations.Select;
import org.linuxsogood.boot.pojo.Blog;
import org.springframework.stereotype.Repository;

/**
 * @author honway.liu
 * @date 2018/8/5 下午9:13
 * @email gm100861@gmail.com
 * @blog http://linuxsogood.org
 */
@Repository
public interface BlogMapper {

    @Select("select * from blog where id = #{id}")
    Blog selectById(Integer id);
}
